<?php

/*
 * Copyright by Sygma Media Inovasi Ω2013
 * 
 * Lead Programmer : Sony K Wibisono,S.Si,M.T.I
 * E-mail : sony@sonywibisono.com
 * 
 * Designer : Mr. Agus
 * 
 */
global $is_login;
if (!isset($is_login)||$is_login==false){
    ?>
<div id="login_form">
    <form action="?mod=users&action=login" method="post">
    <table width="100%" cellpadding="2" cellspacing="0">
        <tr><td colspan="2" ><div class="table_caption">Login to Admin Panel</div></td></tr>
        <tr><td class="field_label">Username</td>
            <td class="field_input"><input type="text" name="username" size="20"/></td></tr>
        <tr><td class="field_label">Password</td>
            <td class="field_input"><input type="password" name="password" size="20"/></td></tr>
        <tr><td class="field_label">&nbsp;</td>
            <td class="field_input"><input type="submit" name="login" value="Login" class="tombol_white"/>
            <input type="button" name="cancel" value="Cancel" onclick="javascript:history.go(-1);" class="tombol_white"/></td></tr>
        <tr><td colspan="2" ><img src="img/spacer.gif" width="200" height="10"/></td></tr>
    </table>
    </form>
</div>
<?php   
} else{
    if ($is_login==true){
        show_menus('header');
    }  

}
?>

